#include "switchbutton.h"

SwitchButton::SwitchButton(QWidget *parent) : QPushButton(parent)
{

}

void SwitchButton::enterEvent(QEvent *event)
{

    QSize size(120,120);
    this->setIconSize(size);
    QPushButton::enterEvent(event);
}

void SwitchButton::leaveEvent(QEvent *event)
{

    QSize size(100,100);
    this->setIconSize(size);
    QPushButton::leaveEvent(event);
}
